[Step 1/5] Create a new article draft
Article Endpoints
[Step 1/5] Create a new article draft
Step 1 of 5 — Create an empty draft and get an article_id.
The article_id returned here is required by all subsequent steps.
Full flow:
- ➡️
POST /x/articles/draft— getarticle_id PUT /x/articles/{article_id}/cover— (optional) set cover imagePUT /x/articles/{article_id}/title— set titlePUT /x/articles/{article_id}/content— set body (Markdown)POST /x/articles/{article_id}/publish— publish and gettweet_id
💡 Tip: For full control (e.g. preview before publish, retry individual steps), use the step-by-step flow above. Use
POST /x/articles/publishonly for quick one-shot publishing.
POST
[Step 1/5] Create a new article draft
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
Twitter cookie string (auth_token=...; ct0=...; twid=...)